Optimal. Leaf size=41 \[ \frac {\left (a+b x^3\right ) \left (a^2+2 a b x^3+b^2 x^6\right )^p}{3 b (1+2 p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {1366, 623}
\begin {gather*} \frac {\left (a+b x^3\right ) \left (a^2+2 a b x^3+b^2 x^6\right )^p}{3 b (2 p+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 623
Rule 1366
Rubi steps
\begin {align*} \int x^2 \left (a^2+2 a b x^3+b^2 x^6\right )^p \, dx &=\frac {1}{3} \text {Subst}\left (\int \left (a^2+2 a b x+b^2 x^2\right )^p \, dx,x,x^3\right )\\ &=\frac {\left (a+b x^3\right ) \left (a^2+2 a b x^3+b^2 x^6\right )^p}{3 b (1+2 p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 32, normalized size = 0.78 \begin {gather*} \frac {\left (a+b x^3\right ) \left (\left (a+b x^3\right )^2\right )^p}{3 b (1+2 p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 31, normalized size = 0.76
method | result | size |
risch | \(\frac {\left (b \,x^{3}+a \right ) \left (\left (b \,x^{3}+a \right )^{2}\right )^{p}}{3 b \left (1+2 p \right )}\) | \(31\) |
gosper | \(\frac {\left (b \,x^{3}+a \right ) \left (b^{2} x^{6}+2 a b \,x^{3}+a^{2}\right )^{p}}{3 b \left (1+2 p \right )}\) | \(40\) |
norman | \(\frac {x^{3} {\mathrm e}^{p \ln \left (b^{2} x^{6}+2 a b \,x^{3}+a^{2}\right )}}{6 p +3}+\frac {a \,{\mathrm e}^{p \ln \left (b^{2} x^{6}+2 a b \,x^{3}+a^{2}\right )}}{3 b \left (1+2 p \right )}\) | \(71\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 30, normalized size = 0.73 \begin {gather*} \frac {{\left (b x^{3} + a\right )} {\left (b x^{3} + a\right )}^{2 \, p}}{3 \, b {\left (2 \, p + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.45, size = 37, normalized size = 0.90 \begin {gather*} \frac {{\left (b x^{3} + a\right )} {\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p}}{3 \, {\left (2 \, b p + b\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \begin {cases} \frac {x^{3}}{3 \sqrt {a^{2}}} & \text {for}\: b = 0 \wedge p = - \frac {1}{2} \\\frac {x^{3} \left (a^{2}\right )^{p}}{3} & \text {for}\: b = 0 \\\int \frac {x^{2}}{\sqrt {\left (a + b x^{3}\right )^{2}}}\, dx & \text {for}\: p = - \frac {1}{2} \\\frac {a \left (a^{2} + 2 a b x^{3} + b^{2} x^{6}\right )^{p}}{6 b p + 3 b} + \frac {b x^{3} \left (a^{2} + 2 a b x^{3} + b^{2} x^{6}\right )^{p}}{6 b p + 3 b} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.59, size = 58, normalized size = 1.41 \begin {gather*} \frac {{\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p} b x^{3} + {\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p} a}{3 \, {\left (2 \, b p + b\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.16, size = 46, normalized size = 1.12 \begin {gather*} \left (\frac {x^3}{3\,\left (2\,p+1\right )}+\frac {a}{3\,b\,\left (2\,p+1\right )}\right )\,{\left (a^2+2\,a\,b\,x^3+b^2\,x^6\right )}^p \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________